var express = require('express');
var router = express.Router();

const { loginValidator } = require('../middleware/login');
const { login } = require('../controller/login');

router.post('/', loginValidator, login);

module.exports = router;
